package com.tencent.wxcloudrun.mapper;

import com.tencent.wxcloudrun.dto.MyCoupons;
import com.tencent.wxcloudrun.model.Coupons;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @Entity com.tencent.wxcloudrun.model.Coupons
 */
@Mapper
public interface CouponsMapper {

    List<Coupons> getCoupons();

    List<MyCoupons> myCoupons(String openid);

    Coupons checkCoupons(String id);

    MyCoupons checkCoupons1(String openid, String id);

    int fetchCoupons(String openid, String id);
}




